import { IsNotEmpty } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class MediaDTO {
  @ApiProperty({
    description: 'media',
    default: 'media',
  })
  @IsNotEmpty({ message: 'media不能为空' })
  readonly media: string;
}
